<html>
<body>
<h1>${message}</h1>
<form action="${base!}/upload.json" method="post" enctype="multipart/form-data">
    <label>上传文件</label>
    <input type="file" name="file"/>
    <input type="submit" value="Submit" />
</form>
<script src="${base!}/resources/jquery-1.8.2.min.js"></script>
<script type="text/javascript">
    $.ajax({
        url: "${base!}/test.do",
        data: {"keyWord": "123"},
        type: "post",
        success: function (data) {
            console.log(data);
        }
    });
</script>
</body>
</html>